<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="com.xuebang.admin.entity.OperatorRules"%>
<%@ page language="java" import="com.xuebang.admin.entity.Operator"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
// 网站地址
String netPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort();
%>
<%
Operator currentOperator = (Operator)request.getAttribute("currentOperator");
%>
 <div id="iaas_layout_sidebar" class="sidebar140 sidebar_close" style="height: 550px;"> 

    <div class="sidebar_bd">
      <div class="eye"><img src="<%=basePath %>images/zhgl.png" />
        <p class="text">文章管理 </p>
      </div>
      <%-- <div class="unfold"> <a href="#"><img src="<%=basePath %>images/unfold.gif" /></a> </div> --%>
      <ul class="zyglsidebar">
       <%if (currentOperator.hasPerm(OperatorRules.PERM_COLUMN)){%>
        <li><a href="<%=basePath %>article/operate"><img src="<%=basePath %>/images/article${menu1}.png" style="width:33px; height: 23px;"/><span class="text">文章列表</span></a></li><%}%>
       <%if (currentOperator.hasPerm(OperatorRules.PERM_COLUMN)){%>
        <li><a href="<%=basePath %>article/add"><img src="<%=basePath %>images/addArticle${menu2}.png" style="width:33px; height: 23px;"/><span class="text">新增文章</span></a></li><%}%>
       <%if (currentOperator.hasPerm(OperatorRules.PERM_COLUMN)){%>
        <li><a href="<%=basePath %>article/recycleBin"><img src="<%=basePath %>images/recyleBin${menu3}.png" style="width:33px; height: 23px;"/><span class="text">回收站</span></a></li><%}%>
      </ul>
    </div>
  </div>